import Vue from 'vue';
import VueRouter from 'vue-router';
import App from '../page/AppMain';
import {getToken} from '@/utils/localstorage';

const home = r => require.ensure([], () => r(require('../page/home')), 'home');
const infor = r => require.ensure([], () => r(require('../page/home/infor')), 'infor');
const screenLook = r => require.ensure([], () => r(require('../page/screenLook/screenLook')), 'screenLook');
// const dataAdmin = r => require.ensure([], () => r(require('../page/screenLook/dataAdmin/dataAdmin')), 'screenLook');

const login = r => require.ensure([], () => r(require('../page/auto/login')), 'login');

const operateAnalysis = r => require.ensure([], () => r(require('../page/fxReport/operateAnalysis')), 'operateAnalysis');
const workAnalysis = r => require.ensure([], () => r(require('../page/fxReport/workAnalysis')), 'workAnalysis');
const deviceAnalysis = r => require.ensure([], () => r(require('../page/fxReport/deviceAnalysis')), 'deviceAnalysis');
const energyAnalysis = r => require.ensure([], () => r(require('../page/fxReport/energyAnalysis')), 'energyAnalysis');
const visitorStatisticalAnalysis = r => require.ensure([], () => r(require('../page/fxReport/visitorStatisticalAnalysis')), 'visitorStatisticalAnalysis');

const sbwbjg = r => require.ensure([], () => r(require('../page/wyAdmin/sbjg/sbwbjg')), 'sbwbjg');
const sbwbjgInfor = r => require.ensure([], () => r(require('../page/wyAdmin/sbjg/sbwbjgInfor')), 'sbwbjgInfor');
// const calendar       = r => require.ensure([], () => r(require('../page/home/calendar')), 'calendar');

const nhgl = r => require.ensure([], () => r(require('../page/wyAdmin/nhgl/nhgl')), 'nhgl');
const sbjcsj = r => require.ensure([], () => r(require('../page/wyAdmin/sbjcsj/sbjcsj')), 'sbjcsj');
const nhjl = r => require.ensure([], () => r(require('../page/wyAdmin/nhgl/nhjl')), 'nhjl');
const tjfx = r => require.ensure([], () => r(require('../page/wyAdmin/nhgl/tjfx')), 'tjfx');

const yxzt = r => require.ensure([], () => r(require('../page/wyAdmin/sbjg/yxzt/yxzt')), 'yxzt');
const yxztInfor = r => require.ensure([], () => r(require('../page/wyAdmin/sbjg/yxzt/yxztInfor')), 'yxztInfor');
const equipmentVideo = r => require.ensure([], () => r(require('../page/wyAdmin/sbjg/yxzt/equipmentVideo')), 'equipmentVideo');
const tzjl = r => require.ensure([], () => r(require('../page/wyAdmin/sbjg/yxzt/tzjl')), 'tzjl');
const gjrz = r => require.ensure([], () => r(require('../page/wyAdmin/sbjg/gjrz/gjrz')), 'gjrz');
const sbtzjl = r => require.ensure([], () => r(require('../page/wyAdmin/sbjg/sbtzjl/sbtzjl')), 'sbtzjl');
const sbtzxx = r => require.ensure([], () => r(require('../page/wyAdmin/sbjg/sbtzjl/sbtzxx')), 'sbtzxx');
const sbtzwxjl = r => require.ensure([], () => r(require('../page/wyAdmin/sbjg/sbtzjl/sbtzwxjl')), 'sbtzwxjl');
const sbtzwbjl = r => require.ensure([], () => r(require('../page/wyAdmin/sbjg/sbtzjl/sbtzwbjl')), 'sbtzwbjl');
const sbtzgjjl = r => require.ensure([], () => r(require('../page/wyAdmin/sbjg/sbtzjl/sbtzgjjl')), 'sbtzgjjl');
const sbtzxz = r => require.ensure([], () => r(require('../page/wyAdmin/sbjg/sbtzjl/sbtzxz')), 'sbtzxz');


const sbsjList = r => require.ensure([], () => r(require('../page/wyAdmin/sbjcsj/sbsjList/sbfgl/sbsjList')), 'sbsjList');

// const sbsjListInfor    = r => require.ensure([], () => r(require('../page/wyAdmin/sbjcsj/sbsjList/sbfgl/sbsjListInfor')), 'sbsjListInfor');

const sbjcsjComonents = r => require.ensure([], () => r(require('../page/wyAdmin/sbjcsj/sbsjList/sbfgl/sbjcsjComonents')), 'sbjcsjComonents');
// const addSbToSbf   = r => require.ensure([], () => r(require('../page/wyAdmin/sbjcsj/sbsjList/sbfgl/addSbToSbf')), 'addSbToSbf');
// const addSxtToSbf   = r => require.ensure([], () => r(require('../page/wyAdmin/sbjcsj/sbsjList/sbfgl/addSxtToSbf')), 'addSxtToSbf');


const sbgl = r => require.ensure([], () => r(require('../page/wyAdmin/sbjcsj/sbsjList/sbgl/sbgl')), 'sbgl');
const sbglComonents = r => require.ensure([], () => r(require('../page/wyAdmin/sbjcsj/sbsjList/sbgl/sbglComonents')), 'sbglComonents');


const rtugl = r => require.ensure([], () => r(require('../page/wyAdmin/sbjcsj/sbsjList/RTUgl/rtugl')), 'rtugl');
const rtuComonents = r => require.ensure([], () => r(require('../page/wyAdmin/sbjcsj/sbsjList/RTUgl/rtuComonents')), 'rtuComonents');

const cjjd = r => require.ensure([], () => r(require('../page/wyAdmin/sbjcsj/sbsjList/cjjdgl/cjjd')), 'cjjd');
const cjjdComonents = r => require.ensure([], () => r(require('../page/wyAdmin/sbjcsj/sbsjList/cjjdgl/cjjdComonents')), 'cjjdComonents');


const sbcsgl = r => require.ensure([], () => r(require('../page/wyAdmin/sbjcsj/sbsjList/sbcsgl/sbcsgl')), 'sbcsgl');
const sbcsglComonents = r => require.ensure([], () => r(require('../page/wyAdmin/sbjcsj/sbsjList/sbcsgl/sbcsglComonents')), 'sbcsglComonents');
const sbcsjt = r => require.ensure([], () => r(require('../page/wyAdmin/sbjcsj/sbsjList/sbcsgl/sbcsjt')), 'sbcsjt');


const jksb = r => require.ensure([], () => r(require('../page/wyAdmin/sbjcsj/sbsjList/jksb/jksb')), 'jksb');
const jksbComonents = r => require.ensure([], () => r(require('../page/wyAdmin/sbjcsj/sbsjList/jksb/jksbComonents')), 'jksbComonents');


const wbjhmbgl = r => require.ensure([], () => r(require('../page/wyAdmin/wbrw/jhmbgl/wbjhmbgl')), 'wbjhmbgl');
const wbjhmbglComonents = r => require.ensure([], () => r(require('../page/wyAdmin/wbrw/jhmbgl/wbjhmbglComonents')), 'wbjhmbglComonents');


const wbjhgl = r => require.ensure([], () => r(require('../page/wyAdmin/wbrw/jhgl/wbjhgl')), 'wbjhgl');
const wbjhglxx = r => require.ensure([], () => r(require('../page/wyAdmin/wbrw/jhgl/wbjhglxx')), 'wbjhglxx');
const wbjhglzx = r => require.ensure([], () => r(require('../page/wyAdmin/wbrw/jhgl/wbjhglzx')), 'wbjhglzx');
const wbjhglrw = r => require.ensure([], () => r(require('../page/wyAdmin/wbrw/jhgl/wbjhglrw')), 'wbjhglrw');
const wbjhglfk = r => require.ensure([], () => r(require('../page/wyAdmin/wbrw/jhgl/wbjhglfk')), 'wbjhglfk');
const wbjhglxxrw = r => require.ensure([], () => r(require('../page/wyAdmin/wbrw/jhgl/wbjhglxxrw')), 'wbjhglxxrw');
const wbjhglComonents = r => require.ensure([], () => r(require('../page/wyAdmin/wbrw/jhgl/wbjhglComonents')), 'wbjhglComonents');


const wbrwgl = r => require.ensure([], () => r(require('../page/wyAdmin/wbrw/rwgl/wbrwgl')), 'wbrwgl');
const wbrwglxx = r => require.ensure([], () => r(require('../page/wyAdmin/wbrw/rwgl/wbrwglxx')), 'wbrwgl');
const wbrwgljl = r => require.ensure([], () => r(require('../page/wyAdmin/wbrw/rwgl/wbrwgljl')), 'wbrwgljl');
const wbrwgljc = r => require.ensure([], () => r(require('../page/wyAdmin/wbrw/rwgl/wbrwgljc')), 'wbrwgljc');
const wbrwyqts = r => require.ensure([], () => r(require('../page/wyAdmin/wbrw/rwgl/wbrwyqts/wbrwyqts')), 'wbrwyqts');
const wbrwyqtsComonents = r => require.ensure([], () => r(require('../page/wyAdmin/wbrw/rwgl/wbrwyqts/wbrwyqtsComonents')), 'wbrwyqtsComonents');
const taskManagementCount = r => require.ensure([], () => r(require('../page/wyAdmin/wbrw/rwgl/taskManagementCount')), 'taskManagementCount');
const taskManagementCountDetailed = r => require.ensure([], () => r(require('../page/wyAdmin/wbrw/rwgl/taskManagementCountDetailed')), 'taskManagementCountDetailed');
const push = r => require.ensure([], () => r(require('../page/wyAdmin/wbrw/rwgl/push')), 'push');

const wbfx = r => require.ensure([], () => r(require('../page/wyAdmin/wbrw/rwgl/wbfx/wbfx')), 'wbfx');
const wbfxInfor = r => require.ensure([], () => r(require('../page/wyAdmin/wbrw/rwgl/wbfx/wbfxInfor')), 'wbfxInfor');


const xjjhmbgl = r => require.ensure([], () => r(require('../page/wyAdmin/rcxj/jhmbgl/xjjhmbgl')), 'xjjhmbgl');
const xjjhmbglComonents = r => require.ensure([], () => r(require('../page/wyAdmin/rcxj/jhmbgl/xjjhmbglComonents')), 'xjjhmbglComonents');

const xjjhgl = r => require.ensure([], () => r(require('../page/wyAdmin/rcxj/jhgl/xjjhgl')), 'xjjhgl');
const xjjhglxx = r => require.ensure([], () => r(require('../page/wyAdmin/rcxj/jhgl/xjjhglxx')), 'xjjhglxx');
const xjjhglzx = r => require.ensure([], () => r(require('../page/wyAdmin/rcxj/jhgl/xjjhglzx')), 'xjjhglzx');
const xjjhglrw = r => require.ensure([], () => r(require('../page/wyAdmin/rcxj/jhgl/xjjhglrw')), 'xjjhglrw');
const xjjhglfk = r => require.ensure([], () => r(require('../page/wyAdmin/rcxj/jhgl/xjjhglfk')), 'xjjhglfk');
const xjjhglxxrw = r => require.ensure([], () => r(require('../page/wyAdmin/rcxj/jhgl/xjjhglxxrw')), 'xjjhglxxrw');

//巡检
const inspectionTaskManage = r => require.ensure([], () => r(require('../page/wyAdmin/inspection/inspectionTaskManage')), 'inspectionTaskManage');
const inspectionTaskCount = r => require.ensure([], () => r(require('../page/wyAdmin/inspection/inspectionTaskCount')), 'inspectionTaskCount');
const inspectionTaskCountComponents = r => require.ensure([], () => r(require('../page/wyAdmin/inspection/inspectionTaskCountComponents')), 'inspectionTaskCountComponents');
const inspectionTaskManageComponents = r => require.ensure([], () => r(require('../page/wyAdmin/inspection/inspectionTaskManageComponents')), 'inspectionTaskManageComponents');
const inspectionTaskCountComponentsDetail = r => require.ensure([], () => r(require('../page/wyAdmin/inspection/inspectionTaskCountComponentsDetail')), 'inspectionTaskCountComponentsDetail');


const xjrwgl = r => require.ensure([], () => r(require('../page/wyAdmin/rcxj/rwgl/xjrwgl')), 'xjrwgl');
const xjpush = r => require.ensure([], () => r(require('../page/wyAdmin/rcxj/rwgl/xjpush')), 'xjpush');
const xjrwglxx = r => require.ensure([], () => r(require('../page/wyAdmin/rcxj/rwgl/xjrwglxx')), 'xjrwglxx');
const xjrwgljl = r => require.ensure([], () => r(require('../page/wyAdmin/rcxj/rwgl/xjrwgljl')), 'xjrwgljl');
const xjrwyqtsComonents = r => require.ensure([], () => r(require('../page/wyAdmin/rcxj/rwgl/xjrwyqts/xjrwyqtsComonents')), 'xjrwyqtsComonents');
const routingInspectionCount = r => require.ensure([], () => r(require('../page/wyAdmin/rcxj/rwgl/routingInspectionCount')), 'routingInspectionCount');
const routingInspectionCountDetailed = r => require.ensure([], () => r(require('../page/wyAdmin/rcxj/rwgl/routingInspectionCountDetailed')), 'routingInspectionCountDetailed');

const xjfx = r => require.ensure([], () => r(require('../page/wyAdmin/rcxj/rwgl/xjfx/xjfx')), 'xjfx');
const xjfxInfor = r => require.ensure([], () => r(require('../page/wyAdmin/rcxj/rwgl/xjfx/xjfxInfor')), 'xjfxInfor');


const wbxjgl = r => require.ensure([], () => r(require('../page/wyAdmin/wbxjfx/wbxjfx/wbxjgl')), 'wbxjgl');
const wbxjglComonents = r => require.ensure([], () => r(require('../page/wyAdmin/wbxjfx/wbxjfx/wbxjglComonents')), 'wbxjglComonents');


const jcxx = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/xtsz/jcxx')), 'jcxx');
const wrts = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/xtsz/wrts')), 'wrts');
const bxlx = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/xtsz/bxlx')), 'bxlx');
const bxlb = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/xtsz/bxlb')), 'bxlb');
const bslx = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/xtsz/bslx')), 'bslx');

const warrantyTermComponents = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/xtsz/warrantyTermComponents')), 'warrantyTermComponents');

const yhbs = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/yhbs/yhbs')), 'yhbs');
const yhbsAdd = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/yhbs/yhbsAdd')), 'yhbsAdd');
const yhbsxx = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/yhbs/yhbsxx')), 'yhbsxx');
const yhbszp = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/yhbs/yhbszp')), 'yhbszp');
const yhbscl = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/yhbs/yhbscl')), 'yhbscl');
const yhbspj = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/yhbs/yhbspj')), 'yhbspj');
const yhbshf = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/yhbs/yhbshf')), 'yhbshf');
const yhbsfx = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/yhbs/yhbsfx')), 'yhbsfx');
const worklistAdd = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/worklistAdd')), 'worklistAdd');

const gdgl = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/gdgl')), 'gdgl');
const gdglxxx = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/gdglxxx')), 'gdglxxx');
const typeStatistics = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/typeStatistics')), 'typeStatistics');
const eventStatistics = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/eventStatistics')), 'eventStatistics');
const returnvisitStatistics = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/returnvisitStatistics')), 'returnvisitStatistics');
const complaintStatistics = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/complaintStatistics')), 'complaintStatistics');
const telephoneStatistics = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/telephoneStatistics')), 'telephoneStatistics');


const yhbx = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/yhbx/yhbx')), 'yhbx');
const yhbxytt = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/yhbx/yhbxytt')), 'yhbxytt');
const yhbxyttxq = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/yhbx/yhbxyttxq')), 'yhbxyttxq');
const yhbxAdd = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/yhbx/yhbxAdd')), 'yhbxAdd');
const yhbxxx = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/yhbx/yhbxxx')), 'yhbxxx');
const yhbxzp = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/yhbx/yhbxzp')), 'yhbxzp');
const yhbxcl = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/yhbx/yhbxcl')), 'yhbxcl');
const yhbxpj = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/yhbx/yhbxpj')), 'yhbxpj');
const yhbxhf = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/yhbx/yhbxhf')), 'yhbxhf');
const yhbxfx = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/yhbx/yhbxfx')), 'yhbxfx');

// 资产管理
const assetClassificationMGT = r => require.ensure([], () => r(require('../page/wyAdmin/assetManagement/systemSetup/assetClassificationMGT')), 'assetClassificationMGT');
const labelTemplateMGT = r => require.ensure([], () => r(require('../page/wyAdmin/assetManagement/systemSetup/labelTemplateMGT')), 'labelTemplateMGT');
const barcodeRulesMGT = r => require.ensure([], () => r(require('../page/wyAdmin/assetManagement/systemSetup/barcodeRulesMGT')), 'barcodeRulesMGT');
const assetManagerMGT = r => require.ensure([], () => r(require('../page/wyAdmin/assetManagement/systemSetup/assetManagerMGT')), 'assetManagerMGT');
const assetManagerMGTComonents = r => require.ensure([], () => r(require('../page/wyAdmin/assetManagement/systemSetup/assetManagerMGTComonents')), 'assetManagerMGTComonents');
const assetStorage = r => require.ensure([], () => r(require('../page/wyAdmin/assetManagement/assetStorage')), 'assetStorage');
const assetStorageComonents = r => require.ensure([], () => r(require('../page/wyAdmin/assetManagement/assetStorageComonents')), 'assetStorageComonents');
const informationChangeRecord = r => require.ensure([], () => r(require('../page/wyAdmin/assetManagement/informationChangeRecord')), 'informationChangeRecord');
const maintenanceRegistration = r => require.ensure([], () => r(require('../page/wyAdmin/assetManagement/maintenanceRegistration')), 'maintenanceRegistration');
const collarAndRetiring = r => require.ensure([], () => r(require('../page/wyAdmin/assetManagement/collarAndRetiring')), 'collarAndRetiring');
const borrowAndReturn = r => require.ensure([], () => r(require('../page/wyAdmin/assetManagement/borrowAndReturn')), 'borrowAndReturn');
const allocation = r => require.ensure([], () => r(require('../page/wyAdmin/assetManagement/allocation')), 'allocation');
const clearScrap = r => require.ensure([], () => r(require('../page/wyAdmin/assetManagement/clearScrap')), 'clearScrap');

// 品质监察
const assessmentMajor = r => require.ensure([], () => r(require('../page/wyAdmin/qualitySupervision/assessmentMajor')), 'assessmentMajor');
const assessmentMajorComonents = r => require.ensure([], () => r(require('../page/wyAdmin/qualitySupervision/assessmentMajorComonents')), 'assessmentMajorComonents');
const assessmentStandard = r => require.ensure([], () => r(require('../page/wyAdmin/qualitySupervision/assessmentStandard')), 'assessmentStandard');
const assessmentStandardComonents = r => require.ensure([], () => r(require('../page/wyAdmin/qualitySupervision/assessmentStandardComonents')), 'assessmentStandardComonents');
const assessmentTemplate = r => require.ensure([], () => r(require('../page/wyAdmin/qualitySupervision/assessmentTemplate')), 'assessmentTemplate');
const assessmentTemplateComonents = r => require.ensure([], () => r(require('../page/wyAdmin/qualitySupervision/assessmentTemplateComonents')), 'assessmentTemplateComonents');
const supervisoryTask = r => require.ensure([], () => r(require('../page/wyAdmin/qualitySupervision/supervisoryTask')), 'supervisoryTask');
const supervisoryTaskComonents = r => require.ensure([], () => r(require('../page/wyAdmin/qualitySupervision/supervisoryTaskComonents')), 'supervisoryTaskComonents');
const supervisoryTaskDtailed = r => require.ensure([], () => r(require('../page/wyAdmin/qualitySupervision/supervisoryTaskDtailed')), 'supervisoryTaskDtailed');
const taskRules = r => require.ensure([], () => r(require('../page/wyAdmin/qualitySupervision/taskRules')), 'taskRules');
const monitoringPlan = r => require.ensure([], () => r(require('../page/wyAdmin/qualitySupervision/monitoringPlan')), 'monitoringPlan');
const monitoringPlanComonents = r => require.ensure([], () => r(require('../page/wyAdmin/qualitySupervision/monitoringPlanComonents')), 'monitoringPlanComonents');
const supervisorySubtaskComonents = r => require.ensure([], () => r(require('../page/wyAdmin/qualitySupervision/supervisorySubtaskComonents')), 'supervisorySubtaskComonents');
const supervisoryStatistics = r => require.ensure([], () => r(require('../page/wyAdmin/qualitySupervision/supervisoryStatistics')), 'supervisoryStatistics');
const completeSituation = r => require.ensure([], () => r(require('../page/wyAdmin/qualitySupervision/completeSituation')), 'completeSituation');
const summaryProblems = r => require.ensure([], () => r(require('../page/wyAdmin/qualitySupervision/summaryProblems')), 'summaryProblems');
const assessmentConclusion = r => require.ensure([], () => r(require('../page/wyAdmin/qualitySupervision/assessmentConclusion')), 'assessmentConclusion');
const tasklistMGT = r => require.ensure([], () => r(require('../page/wyAdmin/qualitySupervision/tasklistMGT')), 'tasklistMGT');
const routineplanMGT = r => require.ensure([], () => r(require('../page/wyAdmin/qualitySupervision/routineplanMGT')), 'routineplanMGT');
const routinetaskMGT = r => require.ensure([], () => r(require('../page/wyAdmin/qualitySupervision/routinetaskMGT')), 'routinetaskMGT');
const routinetaskMGTComonents = r => require.ensure([], () => r(require('../page/wyAdmin/qualitySupervision/routinetaskMGTComonents')), 'routinetaskMGTComonents');
const tasklistMGTComonents = r => require.ensure([], () => r(require('../page/wyAdmin/qualitySupervision/tasklistMGTComonents')), 'tasklistMGTComonents');
const tasklistMGTComonentsDetail = r => require.ensure([], () => r(require('../page/wyAdmin/qualitySupervision/tasklistMGTComonentsDetail')), 'tasklistMGTComonentsDetail');
const examinationResults = r => require.ensure([], () => r(require('../page/wyAdmin/qualitySupervision/examinationResults')), 'examinationResults');
const addTaskList = r => require.ensure([], () => r(require('../page/wyAdmin/qualitySupervision/addTaskList')), 'addTaskList');
const addPlanList = r => require.ensure([], () => r(require('../page/wyAdmin/qualitySupervision/addPlanList')), 'addPlanList');
const planlistMGTComonents = r => require.ensure([], () => r(require('../page/wyAdmin/qualitySupervision/planlistMGTComonents')), 'planlistMGTComonents');


const xtpd = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/xtpd/xtpd')), 'xtpd');
const xtpdInfor = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/xtpd/xtpdInfor')), 'xtpdInfor');
const xtpdtx = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/xtpd/xtpdtx')), 'xtpdtx');


const bsbxfx = r => require.ensure([], () => r(require('../page/wyAdmin/kfxt/bsbxfx')), 'bsbxfx');


const jsgl = r => require.ensure([], () => r(require('../page/ptsettings/jsgl/jsgl')), 'jsgl');
const jsgljcxx = r => require.ensure([], () => r(require('../page/ptsettings/jsgl/jsgljcxx')), 'jsgljcxx');
const jsglsy = r => require.ensure([], () => r(require('../page/ptsettings/jsgl/jsglsy')), 'jsglsy');
const jsglgld = r => require.ensure([], () => r(require('../page/ptsettings/jsgl/jsglgld')), 'jsglgld');
const jsglapp = r => require.ensure([], () => r(require('../page/ptsettings/jsgl/jsglapp')), 'jsglapp');
const jsglcg = r => require.ensure([], () => r(require('../page/ptsettings/jsgl/jsglcg')), 'jsglcg');
const jsglDetailed = r => require.ensure([], () => r(require('../page/ptsettings/jsgl/jsglDetailed')), 'jsglDetailed');
const homePower = r => require.ensure([], () => r(require('../page/ptsettings/jsgl/homePower')), 'homePower');
const menuPower = r => require.ensure([], () => r(require('../page/ptsettings/jsgl/menuPower')), 'menuPower');
const appPower = r => require.ensure([], () => r(require('../page/ptsettings/jsgl/appPower')), 'appPower');


const yggl = r => require.ensure([], () => r(require('../page/ptsettings/yggl/yggl')), 'yggl');
const yhgl = r => require.ensure([], () => r(require('../page/ptsettings/yhgl/yhgl')), 'yhgl');
const ygglComonents = r => require.ensure([], () => r(require('../page/ptsettings/yggl/ygglComonents')), 'ygglComonents');
const zcgl = r => require.ensure([], () => r(require('../page/ptsettings/zcgl/zcgl')), 'zcgl');
const yhglComonents = r => require.ensure([], () => r(require('../page/ptsettings/yhgl/yhglComonents')), 'yhglComonents');

const appbqgl = r => require.ensure([], () => r(require('../page/ptsettings/appbqgl')), 'appbqgl');


const dygl = r => require.ensure([], () => r(require('../page/ptsettings/xqgl/dygl')), 'dygl');
const dyglComonents = r => require.ensure([], () => r(require('../page/ptsettings/xqgl/dyglComonents')), 'dyglComonents');

const fjgl = r => require.ensure([], () => r(require('../page/ptsettings/xqgl/fjgl')), 'fjgl');
const fjglComonents = r => require.ensure([], () => r(require('../page/ptsettings/xqgl/fjglComonents')), 'fjglComonents');

const ldgl = r => require.ensure([], () => r(require('../page/ptsettings/xqgl/ldgl')), 'ldgl');
const ldglComonents = r => require.ensure([], () => r(require('../page/ptsettings/xqgl/ldglComonents')), 'ldglComonents');

const xqgl = r => require.ensure([], () => r(require('../page/ptsettings/xqgl/xqgl')), 'xqgl');
const xqglComonents = r => require.ensure([], () => r(require('../page/ptsettings/xqgl/xqglComonents')), 'xqglComonents');

const lcgl = r => require.ensure([], () => r(require('../page/ptsettings/xqgl/lcgl')), 'lcgl');
const lcglComonents = r => require.ensure([], () => r(require('../page/ptsettings/xqgl/lcglComonents')), 'lcglComonents');


const ggwgl = r => require.ensure([], () => r(require('../page/ptsettings/nrgl/ggwgl')), 'ggwgl');
const adHistorical = r => require.ensure([], () => r(require('../page/ptsettings/nrgl/adHistorical')), 'adHistorical');
const conGlList = r => require.ensure([], () => r(require('../page/ptsettings/nrgl/conGlList')), 'conGlList');
const conGl = r => require.ensure([], () => r(require('../page/ptsettings/nrgl/conGl')), 'conGl');
const xwgggl = r => require.ensure([], () => r(require('../page/ptsettings/nrgl/xwgggl')), 'xwgggl');
const xwggglInfor = r => require.ensure([], () => r(require('../page/ptsettings/nrgl/xwggglInfor')), 'xwggglInfor');
const noticeManagement = r => require.ensure([], () => r(require('../page/ptsettings/nrgl/noticeManagement')), 'noticeManagement');
const noticeComponents = r => require.ensure([], () => r(require('../page/ptsettings/nrgl/noticeComponents')), 'noticeComponents');
const bannerComponents = r => require.ensure([], () => r(require('../page/ptsettings/nrgl/bannerComponents')), 'bannerComponents');
const newsList = r => require.ensure([], () => r(require('../page/ptsettings/nrgl/newsList')), 'newsList');
const spGl = r => require.ensure([], () => r(require('../page/ptsettings/nrgl/spGl')), 'spGl');

const housingDataInitialization = r => require.ensure([], () => r(require('../page/ptsettings/housingDataInitialization')), 'housingDataInitialization');


const ygkqgl = r => require.ensure([], () => r(require('../page/wyAdmin/ygkqgl')), 'ygkqgl');

const gcgl = r => require.ensure([], () => r(require('../page/wyAdmin/gcgl')), 'gcgl');

const cateringShop = r => require.ensure([], () => r(require('../page/proprietor/catering/cateringShop')), 'cateringShop');
const cateringShopComonents = r => require.ensure([], () => r(require('../page/proprietor/catering/cateringShopComonents')), 'cateringShopComonents');
const cyflgl = r => require.ensure([], () => r(require('../page/proprietor/catering/cyflgl')), 'cyflgl');
const cyflglComponents = r => require.ensure([], () => r(require('../page/proprietor/catering/cyflglComponents')), 'cyflglComponents');
const cygggl = r => require.ensure([], () => r(require('../page/proprietor/catering/cygggl')), 'cygggl');
const cyggglComponents = r => require.ensure([], () => r(require('../page/proprietor/catering/cyggglComponents')), 'cyggglComponents');
const cyspgl = r => require.ensure([], () => r(require('../page/proprietor/catering/cyspgl')), 'cyspgl');
const cyspglComponents = r => require.ensure([], () => r(require('../page/proprietor/catering/cyspglComponents')), 'cyspglComponents');
const cyspglOrderManagement = r => require.ensure([], () => r(require('../page/proprietor/catering/cyspglOrderManagement')), 'cyspglOrderManagement');

const supermarketShop = r => require.ensure([], () => r(require('../page/proprietor/supermarket/supermarketShop')), 'supermarketShop');
const supermarketShopComonents = r => require.ensure([], () => r(require('../page/proprietor/supermarket/supermarketShopComonents')), 'supermarketShopComonents');
const supermarketClassify = r => require.ensure([], () => r(require('../page/proprietor/supermarket/supermarketClassify')), 'supermarketClassify');
const supermarketClassifyComonents = r => require.ensure([], () => r(require('../page/proprietor/supermarket/supermarketClassifyComonents')), 'supermarketClassifyComonents');
const supermarketAd = r => require.ensure([], () => r(require('../page/proprietor/supermarket/supermarketAd')), 'supermarketAd');
const supermarketAdComonents = r => require.ensure([], () => r(require('../page/proprietor/supermarket/supermarketAdComonents')), 'supermarketAdComonents');
const supermarketCommodity = r => require.ensure([], () => r(require('../page/proprietor/supermarket/supermarketCommodity')), 'supermarketCommodity');
const supermarketCommodityComonents = r => require.ensure([], () => r(require('../page/proprietor/supermarket/supermarketCommodityComonents')), 'supermarketCommodityComonents');
const supermarketOrderManagement = r => require.ensure([], () => r(require('../page/proprietor/supermarket/supermarketOrderManagement')), 'supermarketOrderManagement');

const purchaseShop = r => require.ensure([], () => r(require('../page/proprietor/purchase/purchaseShop')), 'purchaseShop');
const purchaseShopComonents = r => require.ensure([], () => r(require('../page/proprietor/purchase/purchaseShopComonents')), 'purchaseShopComonents');
const purchaseClassify = r => require.ensure([], () => r(require('../page/proprietor/purchase/purchaseClassify')), 'purchaseClassify');
const purchaseClassifyComonents = r => require.ensure([], () => r(require('../page/proprietor/purchase/purchaseClassifyComonents')), 'purchaseClassifyComonents');
const purchaseAd = r => require.ensure([], () => r(require('../page/proprietor/purchase/purchaseAd')), 'purchaseAd');
const purchaseAdComonents = r => require.ensure([], () => r(require('../page/proprietor/purchase/purchaseAdComonents')), 'purchaseAdComonents');
const purchaseCommodity = r => require.ensure([], () => r(require('../page/proprietor/purchase/purchaseCommodity')), 'purchaseCommodity');
const purchaseCommodityComonents = r => require.ensure([], () => r(require('../page/proprietor/purchase/purchaseCommodityComonents')), 'purchaseCommodityComonents');
const purchaseUser = r => require.ensure([], () => r(require('../page/proprietor/purchase/purchaseUser')), 'purchaseUser');
const purchaseOrderManagement = r => require.ensure([], () => r(require('../page/proprietor/purchase/purchaseOrderManagement')), 'purchaseOrderManagement');


// 电商部分菜单模块   start
const homeBannerManagement = r => require.ensure([], () => r(require('../page/proprietor/onlineRetailers/homeBannerManagement')), 'homeBannerManagement');
const hbmComponents = r => require.ensure([], () => r(require('../page/proprietor/onlineRetailers/hbmComponents')), 'hbmComponents');
const promotionManagement = r => require.ensure([], () => r(require('../page/proprietor/onlineRetailers/promotionManagement')), 'promotionManagement');
const promotionComponents = r => require.ensure([], () => r(require('../page/proprietor/onlineRetailers/promotionComponents')), 'promotionComponents');
const hotWordsManagement = r => require.ensure([], () => r(require('../page/proprietor/onlineRetailers/hotWordsManagement')), 'hotWordsManagement');
const hotWordsComponents = r => require.ensure([], () => r(require('../page/proprietor/onlineRetailers/hotWordsComponents')), 'hotWordsComponents');
const cashCouponManagement = r => require.ensure([], () => r(require('../page/proprietor/onlineRetailers/cashCouponManagement')), 'cashCouponManagement');
const cashCouponComponents = r => require.ensure([], () => r(require('../page/proprietor/onlineRetailers/cashCouponComponents')), 'cashCouponComponents');
const userCashCouponManagement = r => require.ensure([], () => r(require('../page/proprietor/onlineRetailers/userCashCouponManagement')), 'userCashCouponManagement');
const commentManagement = r => require.ensure([], () => r(require('../page/proprietor/onlineRetailers/commentManagement')), 'commentManagement');
const accountInformationManagement = r => require.ensure([], () => r(require('../page/proprietor/onlineRetailers/accountInformationManagement')), 'accountInformationManagement');
const accountInformationComponents = r => require.ensure([], () => r(require('../page/proprietor/onlineRetailers/accountInformationComponents')), 'accountInformationComponents');
const orderManagement = r => require.ensure([], () => r(require('../page/proprietor/onlineRetailers/orderManagement')), 'orderManagement');
const redEnvelopesManagement = r => require.ensure([], () => r(require('../page/proprietor/onlineRetailers/redEnvelopesManagement')), 'redEnvelopesManagement');
const distributionManagement = r => require.ensure([], () => r(require('../page/proprietor/onlineRetailers/distributionManagement')), 'distributionManagement');
const setOrder = r => require.ensure([], () => r(require('../page/proprietor/onlineRetailers/setOrder')), 'setOrder');
// 电商部分菜单模块    end

const selfHelpPayment = r => require.ensure([], () => r(require('../page/proprietor/selfHelpPayment')), 'selfHelpPayment');
const payPush = r => require.ensure([], () => r(require('../page/proprietor/payPush')), 'payPush');

const express = r => require.ensure([], () => r(require('../page/proprietor/physicalDistributionMGT/express')), 'express');
const trajectorySearch = r => require.ensure([], () => r(require('../page/proprietor/physicalDistributionMGT/trajectorySearch')), 'trajectorySearch');

//门禁
const guestManage = r => require.ensure([], () => r(require('../page/community/access/guestManage')), 'guestManage');
const guestManageComonents = r => require.ensure([], () => r(require('../page/community/access/guestManageComonents')), 'guestManageComonents');
const guestPassageRecord = r => require.ensure([], () => r(require('../page/community/access/guestPassageRecord')), 'guestPassageRecord');
const guestPassageRecordComonents = r => require.ensure([], () => r(require('../page/community/access/guestPassageRecordComonents')), 'guestPassageRecordComonents');
const userManage = r => require.ensure([], () => r(require('../page/community/access/userManage')), 'userManage');
const userManageComonents = r => require.ensure([], () => r(require('../page/community/access/userManageComonents')), 'userManageComonents');
const areaManage = r => require.ensure([], () => r(require('../page/community/access/areaManage')), 'areaManage');
const areaManageComonents = r => require.ensure([], () => r(require('../page/community/access/areaManageComonents')), 'areaManageComonents');
const faceManage = r => require.ensure([], () => r(require('../page/community/access/faceManage')), 'faceManage');
const faceManageComonents = r => require.ensure([], () => r(require('../page/community/access/faceManageComonents')), 'faceManageComonents');
const manPassageRecord = r => require.ensure([], () => r(require('../page/community/access/manPassageRecord')), 'manPassageRecord');
const manPassageRecordComonents = r => require.ensure([], () => r(require('../page/community/access/manPassageRecordComonents')), 'manPassageRecordComonents');
const cardManage = r => require.ensure([], () => r(require('../page/community/access/cardManage')), 'cardManage');
const cardManageComonents = r => require.ensure([], () => r(require('../page/community/access/cardManageComonents')), 'cardManageComonents');

const routes = [{
    path: '/login',
    component: login
},
    {
        path: '/',
        component: App,
        children: [
            // {
            //   path: '/',
            //   component: login
            //   // component: resolve => require(['../page/auto/login.vue'], resolve)
            // },
            {
                path: '',
                redirect: 'home'
            },
            {
                path: 'screenLook',
                component: screenLook
                // component: resolve => require(['../page/screenLook/screenLook.vue'], resolve)
            },
            {
                path: 'home',
                component: home,
                // component: resolve => require(['../page/home/index.vue'], resolve)
            },
            {
                path: 'infor',
                component: infor

            },
            // {
            //   path: 'calendar',
            //   component: calendar
            // },

            {
                path: 'sbjg',
                component: sbwbjg,
                // children: [
                //   {
                //       path: '/sbwbjg',
                //       component: sbwbjg
                //   }
                // ]
            },
            {
                // path: '/wyAdmin/sbjcsj/sbsjList',
                path: 'sbsjList',
                component: sbsjList,
                // children: [
                //   {
                //       path: '/sbsjList',
                //       component: sbsjList
                //   }
                // ]
            },
            //  {
            //   path: '/wyAdmin/sbjcsj/sbsjListInfor',
            //   component: sbsjListInfor,
            //   children: [
            //     {
            //         path: '/sbsjListInfor',

            //         component: sbsjListInfor
            //     }
            //   ]
            // },
            {
                // path: '/wyAdmin/sbjcsj/sbsjList/sbjcsjComonents',
                path: 'sbjcsjComonents',
                component: sbjcsjComonents,
                // children: [
                //   {
                //       path: '/sbjcsjComonents',
                //       component: sbjcsjComonents
                //   }
                // ]
            },
            // {
            //   path: '/wyAdmin/sbjcsj/sbsjList/addSbToSbf',
            //   component: addSbToSbf,
            //   children: [
            //     {
            //         path: '/addSbToSbf',
            //         component: addSbToSbf
            //     }
            //   ]
            // },
            // {
            //   path: '/addSxtToSbf',
            //   component: addSxtToSbf
            // },
            {
                // path: '/wyAdmin/sbjcsj/sbsjList/sbgl',
                path: 'sbgl',
                component: sbgl,
                // children: [
                //   {
                //       path: '/sbgl',
                //       component: sbgl
                //   }
                // ]
            },
            {
                // path: '/wyAdmin/sbjcsj/sbsjList/rtugl',
                path: 'rtugl',
                component: rtugl,
                // children: [
                //   {
                //       path: '/rtugl',
                //       component: rtugl
                //   }
                // ]
            },
            {
                // path: '/wyAdmin/sbjcsj/sbsjList/rtuComonents',
                path: 'rtuComonents',
                component: rtuComonents,
                // children: [
                //   {
                //       path: '/rtuComonents',
                //       component: rtuComonents
                //   }
                // ]
            },
            {
                // path: '/wyAdmin/sbjcsj/sbgl/sbglComonents',
                path: 'sbglComonents',
                component: sbglComonents,
                // children: [
                //   {
                //       path: '/sbglComonents',
                //       component: sbglComonents
                //   }
                // ]
            },
            {
                // path: '/wyAdmin/sbjcsj/sbsjList/cjjd',
                path: 'cjjd',
                component: cjjd,
                // children: [
                //   {
                //       path: '/cjjd',
                //       component: cjjd
                //   }
                // ]
            },
            {
                // path: '/wyAdmin/sbjcsj/sbsjList/cjjdComonents',
                path: 'cjjdComonents',
                component: cjjdComonents,
                // children: [
                //   {
                //       path: '/cjjdComonents',
                //       component: cjjdComonents
                //   }
                // ]
            },
            {
                // path: '/wyAdmin/sbjcsj/sbsjList/sbcsgl',
                path: 'sbcsgl',
                component: sbcsgl,
                // children: [
                //   {
                //       path: '/sbcsgl',
                //       component: sbcsgl
                //   }
                // ]
            },
            {
                // path: '/wyAdmin/sbjcsj/sbsjList/sbcsglComonents',
                path: 'sbcsglComonents',
                component: sbcsglComonents,
                // children: [
                //   {
                //       path: '/sbcsglComonents',
                //       component: sbcsglComonents
                //   }
                // ]
            },
            {
                // path: '/sbcsjt',
                path: 'sbcsjt',
                component: sbcsjt
            },
            {
                // path: '/wyAdmin/sbjcsj/sbsjList/jksb',
                path: 'jksb',
                component: jksb,
                // children: [
                //   {
                //       path: '/jksb',
                //       component: jksb
                //   }
                // ]
            },
            {
                // path: '/wyAdmin/sbjcsj/sbsjList/jksbComonents',
                path: 'jksbComonents',
                component: jksbComonents,
                // children: [
                //   {
                //       path: '/jksbComonents',
                //       component: jksbComonents
                //   }
                // ]
            },
            {
                // path: '/wbjhmbgl',
                path: 'wbjhmbgl',
                component: wbjhmbgl
            },
            {
                // path: '/wbjhmbglComonents',
                path: 'wbjhmbglComonents',
                component: wbjhmbglComonents
            },
            {
                path: 'warrantyTermComponents',
                component: warrantyTermComponents
            },

            {
                // path: '/wbjhgl',
                path: 'wbjhgl',
                component: wbjhgl
            },
            {
                // path: '/wbjhglxx',
                path: 'wbjhglxx',
                component: wbjhglxx
            },
            {
                // path: '/wbjhglzx',
                path: 'wbjhglzx',
                component: wbjhglzx
            },
            {
                // path: '/wbjhglrw',
                path: 'wbjhglrw',
                component: wbjhglrw
            },
            {
                // path: '/wbjhglfk',
                path: 'wbjhglfk',
                component: wbjhglfk
            },
            {
                // path: '/wbjhglxxrw',
                path: 'wbjhglxxrw',
                component: wbjhglxxrw
            },
            {
                // path: '/wbjhglComonents',
                path: 'wbjhglComonents',
                component: wbjhglComonents
            },
            {
                // path: '/taskManagementCountDetailed',
                path: 'taskManagementCountDetailed',
                component: taskManagementCountDetailed
            },
            {
                // path: '/push',
                path: 'push',
                component: push
            },
            {
                // path: '/wbrwgl',
                path: 'wbrwgl',
                component: wbrwgl
            },
            {
                path: '/taskManagementCount',
                component: taskManagementCount
            },
            {
                path: '/xjjhmbgl',
                component: xjjhmbgl
            },
            {
                path: '/xjjhmbglComonents',
                component: xjjhmbglComonents
            },
            {
                path: '/xjjhgl',
                component: xjjhgl
            },
            {
                path: '/xjjhglxx',
                component: xjjhglxx
            },
            {
                path: '/xjjhglzx',
                component: xjjhglzx
            },
            {
                path: '/xjjhglrw',
                component: xjjhglrw
            },
            {
                path: '/xjjhglfk',
                component: xjjhglfk
            },
            {
                path: '/xjjhglxxrw',
                component: xjjhglxxrw
            },
            {
                path: '/inspectionTaskManage',
                component: inspectionTaskManage
            },
            {
                path: '/inspectionTaskCount',
                component: inspectionTaskCount
            },
            {
                path: '/inspectionTaskCountComponents',
                component: inspectionTaskCountComponents
            },
            {
                path: '/inspectionTaskManageComponents',
                component: inspectionTaskManageComponents
            },
            {
                path: '/inspectionTaskCountComponentsDetail',
                component: inspectionTaskCountComponentsDetail
            },


            {
                path: '/xjrwgl',
                component: xjrwgl
            },
            {
                path: '/xjpush',
                component: xjpush
            },
            {
                path: '/xjrwglxx',
                component: xjrwglxx
            },
            {
                path: '/xjrwgljl',
                component: xjrwgljl
            },
            {
                path: '/xjrwyqtsComonents',
                component: xjrwyqtsComonents
            },
            {
                path: '/xjfx',
                component: xjfx
            },
            {
                path: '/xjfxInfor',
                component: xjfxInfor
            },
            {
                path: '/routingInspectionCount',
                component: routingInspectionCount
            },
            {
                path: '/routingInspectionCountDetailed',
                component: routingInspectionCountDetailed
            },

            {
                path: '/wbrwglxx',
                component: wbrwglxx
            },
            {
                path: '/wbrwgljl',
                component: wbrwgljl
            },
            {
                path: '/wbrwgljc',
                component: wbrwgljc
            },
            {
                path: '/wbrwyqts',
                component: wbrwyqts
            },
            {
                path: '/wbrwyqtsComonents',
                component: wbrwyqtsComonents
            },
            {
                path: '/wbfx',
                component: wbfx
            },
            {
                path: '/wbfxInfor',
                component: wbfxInfor
            },
            {
                path: '/wyAdmin/wbxjfx/wbxjgl',
                component: wbxjgl,
                children: [
                    {
                        path: '/wbxjgl',
                        component: wbxjgl
                    }
                ]
            },
            {
                path: '/wyAdmin/wbxjfx/wbxjgl',
                component: wbxjglComonents,
                children: [
                    {
                        path: '/wbxjglComonents',
                        component: wbxjglComonents
                    }
                ]
            },


            {
                path: '/jcxx',
                component: jcxx
            },
            {
                path: '/bxlx',
                component: bxlx
            },
            {
                path: '/bslx',
                component: bslx
            },
            {
                path: '/bxlb',
                component: bxlb
            },
            {
                path: '/wrts',
                component: wrts
            },

            {
                path: '/wyAdmin/nhgl',
                component: nhgl,
                children: [
                    {
                        path: '/nhgl',
                        component: nhgl
                    }
                ]
            },
            {
                path: '/wyAdmin/tjfx',
                component: tjfx,
                children: [
                    {
                        path: '/tjfx',
                        component: tjfx
                    }
                ]
            },
            {
                path: '/wyAdmin/nhjl',
                component: nhjl,
                children: [
                    {
                        path: '/nhjl',
                        component: nhjl
                    }
                ]
            },
            {
                path: '/wyAdmin/sbjg/yxzt',
                component: yxzt,
                children: [
                    {
                        path: '/yxzt',
                        component: yxzt
                    }
                ]
            },
            {
                path: '/wyAdmin/sbjg/gjrz',
                component: gjrz,
                children: [
                    {
                        path: '/gjrz',
                        component: gjrz
                    }
                ]
            },
            {
                path: '/sbtzxx',
                component: sbtzxx
            },
            {
                path: '/sbtzxz',
                component: sbtzxz
            },
            {
                path: '/sbtzwxjl',
                component: sbtzwxjl
            },
            {
                path: '/sbtzwbjl',
                component: sbtzwbjl
            },
            {
                path: '/sbtzgjjl',
                component: sbtzgjjl
            },

            {
                path: '/wyAdmin/sbjg/sbtzjl',
                component: sbtzjl,
                children: [
                    {
                        path: '/sbtzjl',
                        component: sbtzjl
                    }
                ]
            },
            {
                path: '/wyAdmin/sbjg/tzjl',
                component: tzjl,
                children: [
                    {
                        path: '/tzjl',
                        component: tzjl
                    }
                ]
            },
            {
                path: '/wyAdmin/sbjcsj',
                component: sbjcsj,
                children: [
                    {
                        path: '/sbjcsj',
                        component: sbjcsj
                    }
                ]
            },
            {
                path: '/wyAdmin/sbjg',
                component: sbwbjgInfor,
                children: [
                    {
                        path: '/sbwbjgInfor',
                        component: sbwbjgInfor
                    }
                ]
            },
            {
                path: '/wyAdmin/sbjg',
                component: yxztInfor,
                children: [
                    {
                        path: '/yxztInfor',
                        component: yxztInfor
                    }
                ]
            },
            {
                path: '/equipmentVideo',
                component: equipmentVideo
            },


            // {
            //   path: '/ptsettings/wyAdmin',
            //   component: appmk,
            //   children: [
            //     {
            //         path: '/appmk',
            //         component: appmk
            //     }
            //   ]
            // },
            {
                path: '/operateAnalysis',
                component: operateAnalysis
            },
            {
                path: '/workAnalysis',
                component: workAnalysis
            },
            {
                path: '/deviceAnalysis',
                component: deviceAnalysis
            },
            {
                path: '/energyAnalysis',
                component: energyAnalysis
            },
            {
                path: '/visitorStatisticalAnalysis',
                component: visitorStatisticalAnalysis
            },


            {
                path: '/yhbsAdd',
                component: yhbsAdd
            },
            {
                path: '/yhbsxx',
                component: yhbsxx
            },
            {
                path: '/yhbszp',
                component: yhbszp
            },
            {
                path: '/yhbscl',
                component: yhbscl
            },
            {
                path: '/yhbspj',
                component: yhbspj
            },
            {
                path: '/yhbshf',
                component: yhbshf
            },
            {
                path: '/yhbsfx',
                component: yhbsfx
            },
            {
                path: '/worklistAdd',
                component: worklistAdd
            },
            {
                path: '/gdgl',
                component: gdgl
            },
            {
                path: '/gdglxxx',
                component: gdglxxx
            },
            {
                path: '/typeStatistics',
                component: typeStatistics
            },
            {
                path: '/eventStatistics',
                component: eventStatistics
            },
            {
                path: '/returnvisitStatistics',
                component: returnvisitStatistics
            },
            {
                path: '/complaintStatistics',
                component: complaintStatistics
            },
            {
                path: '/telephoneStatistics',
                component: telephoneStatistics
            },
            {
                path: '/bsbxfx',
                component: bsbxfx
            },
            {
                path: '/yhbs',
                component: yhbs
            },

            {
                path: '/wyAdmin/kfxt',
                component: sbjcsj,
                children: [
                    {
                        path: '/sbjcsj',
                        component: sbjcsj
                    }
                ]
            },


            {
                path: '/wyAdmin/kfxt/xtpd',
                component: xtpd,
                children: [
                    {
                        path: '/xtpd',
                        component: xtpd
                    }
                ]
            },
            {
                path: '/wyAdmin/kfxt/xtpd',
                component: xtpdtx,
                children: [
                    {
                        path: '/xtpdtx',
                        component: xtpdtx
                    }
                ]
            },
            {
                path: '/wyAdmin/kfxt/xtpd',
                component: xtpdInfor,
                children: [
                    {
                        path: '/xtpdInfor',
                        component: xtpdInfor
                    }
                ]
            },


            {
                path: '/yhbx',
                component: yhbx
            },
            {
                path: '/yhbxytt',
                component: yhbxytt
            },
            {
                path: '/yhbxyttxq',
                component: yhbxyttxq
            },
            {
                path: '/yhbxAdd',
                component: yhbxAdd
            },
            {
                path: '/yhbxxx',
                component: yhbxxx
            },
            {
                path: '/yhbxzp',
                component: yhbxzp
            },
            {
                path: '/yhbxcl',
                component: yhbxcl
            },
            {
                path: '/yhbxpj',
                component: yhbxpj
            },
            {
                path: '/yhbxhf',
                component: yhbxhf
            },
            {
                path: '/yhbxfx',
                component: yhbxfx
            },
            {
                path: '/assetClassificationMGT',
                component: assetClassificationMGT
            },
            {
                path: '/labelTemplateMGT',
                component: labelTemplateMGT
            },
            {
                path: '/barcodeRulesMGT',
                component: barcodeRulesMGT
            },
            {
                path: '/assetManagerMGT',
                component: assetManagerMGT
            },
            {
                path: '/assetManagerMGTComonents',
                component: assetManagerMGTComonents
            },
            {
                path: '/assetStorage',
                component: assetStorage
            },
            {
                path: '/assetStorageComonents',
                component: assetStorageComonents
            },
            {
                path: '/informationChangeRecord',
                component: informationChangeRecord
            },
            {
                path: '/maintenanceRegistration',
                component: maintenanceRegistration
            },
            {
                path: '/collarAndRetiring',
                component: collarAndRetiring
            },
            {
                path: '/borrowAndReturn',
                component: borrowAndReturn
            },
            {
                path: '/allocation',
                component: allocation
            },
            {
                path: '/clearScrap',
                component: clearScrap
            },

            {
                path: '/assessmentMajor',
                component: assessmentMajor
            },
            {
                path: '/assessmentMajorComonents',
                component: assessmentMajorComonents
            },
            {
                path: '/assessmentStandard',
                component: assessmentStandard
            },
            {
                path: '/assessmentStandardComonents',
                component: assessmentStandardComonents
            },
            {
                path: '/assessmentTemplate',
                component: assessmentTemplate
            },
            {
                path: '/assessmentTemplateComonents',
                component: assessmentTemplateComonents
            },
            {
                path: '/supervisoryTask',
                component: supervisoryTask
            },
            {
                path: '/supervisoryTaskComonents',
                component: supervisoryTaskComonents
            },
            {
                path: '/supervisoryTaskDtailed',
                component: supervisoryTaskDtailed
            },
            {
                path: '/taskRules',
                component: taskRules
            },
            {
                path: '/monitoringPlan',
                component: monitoringPlan
            },
            {
                path: '/monitoringPlanComonents',
                component: monitoringPlanComonents
            },
            {
                path: '/supervisorySubtaskComonents',
                component: supervisorySubtaskComonents
            },
            {
                path: '/supervisoryStatistics',
                component: supervisoryStatistics
            },
            {
                path: '/completeSituation',
                component: completeSituation
            },
            {
                path: '/summaryProblems',
                component: summaryProblems
            },
            {
                path: '/assessmentConclusion',
                component: assessmentConclusion
            }, {
                path: '/tasklistMGT',
                component: tasklistMGT
            }, {
                path: '/routineplanMGT',
                component: routineplanMGT
            }, {
                path: '/routinetaskMGT',
                component: routinetaskMGT
            }, {
                path: '/routinetaskMGTComonents',
                component: routinetaskMGTComonents
            }, {
                path: '/tasklistMGTComonents',
                component: tasklistMGTComonents
            }, {
                path: '/tasklistMGTComonentsDetail',
                component: tasklistMGTComonentsDetail
            }, {
                path: '/examinationResults',
                component: examinationResults
            }, {
                path: '/addTaskList',
                component: addTaskList
            }, {
                path: '/addPlanList',
                component: addPlanList
            }, {
                path: '/planlistMGTComonents',
                component: planlistMGTComonents
            },

            {
                path: '/jsgl',
                component: jsgl
            },
            {
                path: '/jsgljcxx',
                component: jsgljcxx
            },
            {
                path: '/jsglsy',
                component: jsglsy
            },
            {
                path: '/jsglgld',
                component: jsglgld
            },
            {
                path: '/jsglapp',
                component: jsglapp
            },
            {
                path: '/jsglcg',
                component: jsglcg
            },
            {
                path: '/jsglDetailed',
                component: jsglDetailed
            },
            {
                path: '/menuPower',
                component: menuPower
            },
            {
                path: '/appPower',
                component: appPower
            },
            {
                path: '/homePower',
                component: homePower
            },
            {
                path: '/yggl',
                component: yggl
            },
            {
                path: '/yhgl',
                component: yhgl
            },
            {
                path: '/yhglComonents',
                component: yhglComonents
            },
            {
                path: '/ygglComonents',
                component: ygglComonents
            },

            {
                // path: '/zcgl',
                path: 'zcgl',
                component: zcgl
            },
            {
                // path: '/appbqgl',
                path: 'appbqgl',
                component: appbqgl
            },
            {
                // path: '/dygl',
                path: 'dygl',
                component: dygl
            },
            {
                // path: '/dyglComonents',
                path: 'dyglComonents',
                component: dyglComonents
            },
            {
                // path: '/fjgl',
                path: 'fjgl',
                component: fjgl
            },
            {
                // path: '/fjglComonents',
                path: 'fjglComonents',
                component: fjglComonents
            },
            {
                // path: '/ldgl',
                path: 'ldgl',
                component: ldgl
            },
            {
                // path: '/ldglComonents',
                path: 'ldglComonents',
                component: ldglComonents
            },
            {
                // path: '/xqgl',
                path: 'xqgl',
                component: xqgl
            },
            {
                // path: '/xqglComonents',
                path: 'xqglComonents',
                component: xqglComonents
            },
            {
                // path: '/lcgl',
                path: 'lcgl',
                component: lcgl
            },
            {
                // path: '/lcglComonents',
                path: 'lcglComonents',
                component: lcglComonents
            },
            {
                // path: '/ggwgl',
                path: 'ggwgl',
                component: ggwgl
            },
            {
                path: 'adHistorical',
                component: adHistorical
            },

            {
                // path: '/conGlList',
                path: 'conGlList',
                component: conGlList
            },
            {
                // path: '/conGl',
                path: 'conGl',
                component: conGl
            },
            {
                path: 'spGl',
                component: spGl
            },
            {
                path: 'housingDataInitialization',
                component: housingDataInitialization
            },
            {
                // path: '/xwgggl',
                path: 'xwgggl',
                component: xwgggl
            },
            {
                path: 'noticeManagement',
                component: noticeManagement
            },
            {
                path: 'noticeComponents',
                component: noticeComponents
            },
            {
                path: 'bannerComponents',
                component: bannerComponents
            },
            {
                path: 'newsList',
                component: newsList
            },
            {
                // path: '/ptsettings/nrgl/xwgggl',
                path: 'xwggglInfor',
                component: xwggglInfor,
                // children: [
                //   {
                //       path: '/xwggglInfor',
                //       component: xwggglInfor
                //   }
                // ]
            },

            // {
            //   // path: '/dataAdmin',
            //   path: 'dataAdmin',
            //   component: dataAdmin
            // },
            {
                // path: '/ygkqgl',
                path: 'ygkqgl',
                component: ygkqgl
            },
            {
                // path: '/gcgl',
                path: 'gcgl',
                component: gcgl
            },
            //------------社区餐饮
            {
                path: 'cateringShop',
                component: cateringShop
            },
            {
                path: 'cateringShopComonents',
                component: cateringShopComonents
            },
            {
                path: 'cyflgl',
                component: cyflgl
            },
            {
                path: 'cyflglComponents',
                component: cyflglComponents
            },
            {
                path: 'cygggl',
                component: cygggl
            },
            {
                path: 'cyggglComponents',
                component: cyggglComponents
            },
            {
                // path: '/cydpgl',
                path: 'cyspgl',
                component: cyspgl
            },
            {
                path: 'cyspglComponents',
                component: cyspglComponents
            },
            {
                path: 'cyspglOrderManagement',
                component: cyspglOrderManagement
            },
            //-------------超市 ----
            {
                // path: '/supermarketShop',
                path: 'supermarketShop',
                component: supermarketShop
            },
            {
                // path: '/supermarketShopComonents',
                path: 'supermarketShopComonents',
                component: supermarketShopComonents
            },
            {
                // path: '/supermarketClassify',
                path: 'supermarketClassify',
                component: supermarketClassify
            },
            {
                // path: '/supermarketClassifyComonents',
                path: 'supermarketClassifyComonents',
                component: supermarketClassifyComonents
            },
            {
                // path: '/supermarketAd',
                path: 'supermarketAd',
                component: supermarketAd
            },
            {
                // path: '/supermarketAdComonents',
                path: 'supermarketAdComonents',
                component: supermarketAdComonents
            },
            {
                // path: '/supermarketCommodity',
                path: 'supermarketCommodity',
                component: supermarketCommodity
            }, {
                // path: '/supermarketCommodityComonents',
                path: 'supermarketCommodityComonents',
                component: supermarketCommodityComonents
            },
            {
                path: 'supermarketOrderManagement',
                component: supermarketOrderManagement
            },

//---------团购

            {
                // path: '/purchaseAd',
                path: 'purchaseAd',
                component: purchaseAd
            }, {
                // path: '/purchaseAdComonents',
                path: 'purchaseAdComonents',
                component: purchaseAdComonents
            }, {
                // path: '/purchaseShop',
                path: 'purchaseShop',
                component: purchaseShop
            }, {
                // path: '/purchaseShopComonents',
                path: 'purchaseShopComonents',
                component: purchaseShopComonents
            },
            {

                path: 'purchaseClassify',
                component: purchaseClassify
            },
            {
                // path: '/purchaseClassifyComonents',
                path: 'purchaseClassifyComonents',
                component: purchaseClassifyComonents
            }, {
                // path: '/purchaseCommodity',
                path: 'purchaseCommodity',
                component: purchaseCommodity
            }, {
                // path: '/purchaseCommodityComonents',
                path: 'purchaseCommodityComonents',
                component: purchaseCommodityComonents
            },

            {
                // path: '/purchaseUser',
                path: 'purchaseUser',
                component: purchaseUser
            },
            {
                // path: '/purchaseUser',
                path: 'purchaseOrderManagement',
                component: purchaseOrderManagement
            },


            // 电商部分菜单模块  start
            {
                path: 'homeBannerManagement',
                component: homeBannerManagement
            },
            {
                path: 'hbmComponents',
                component: hbmComponents
            },
            {
                path: 'promotionManagement',
                component: promotionManagement
            },
            {
                path: 'promotionComponents',
                component: promotionComponents
            },
            {
                path: 'hotWordsManagement',
                component: hotWordsManagement
            },
            {
                path: 'hotWordsComponents',
                component: hotWordsComponents
            },
            {
                path: 'cashCouponManagement',
                component: cashCouponManagement
            },
            {
                path: 'cashCouponComponents',
                component: cashCouponComponents
            },
            {
                path: 'userCashCouponManagement',
                component: userCashCouponManagement
            },
            {
                path: 'commentManagement',
                component: commentManagement
            },
            {
                path: 'accountInformationManagement',
                component: accountInformationManagement
            },
            {
                path: 'accountInformationComponents',
                component: accountInformationComponents
            },
            {
                path: 'orderManagement',
                component: orderManagement
            },
            {
                path: 'redEnvelopesManagement',
                component: redEnvelopesManagement
            },
            {
                path: 'distributionManagement',
                component: distributionManagement
            },
            {
                path: 'setOrder',
                component: setOrder
            },

            // 电商部分菜单模块  end
            {
                path: 'selfHelpPayment',
                component: selfHelpPayment
            },
            {
                path: 'payPush',
                component: payPush
            },

            //物流管理
            {
                path: 'express',
                component: express
            },
            {
                path: 'trajectorySearch',
                component: trajectorySearch
            },

            //门禁start
            {
                path: 'guestManage',
                component: guestManage
            },
            {
                path: 'guestManageComonents',
                component: guestManageComonents
            },
            {
                path: 'guestPassageRecord',
                component: guestPassageRecord
            },
            {
                path: 'guestPassageRecordComonents',
                component: guestPassageRecordComonents
            },
            {
                path: 'userManage',
                component: userManage
            },
            {
                path: 'userManageComonents',
                component: userManageComonents
            },
            {
                path: 'areaManage',
                component: areaManage
            },
            {
                path: 'areaManageComonents',
                component: areaManageComonents
            },
            {
                path: '/faceManage',
                component: faceManage
            },
            {
                path: '/faceManageComonents',
                component: faceManageComonents
            },
            {
                path: '/manPassageRecord',
                component: manPassageRecord
            },
            {
                path: '/manPassageRecordComonents',
                component: manPassageRecordComonents
            },
            {
                path: '/cardManage',
                component: cardManage
            },
            {
                path: '/cardManageComonents',
                component: cardManageComonents
            }

            //门禁end

        ]
    }]

Vue.use(VueRouter);
const router = new VueRouter({
    routes
});

router.beforeEach((to, from, next) => {
    const token = getToken();
    //console.log('router-->token:' + token);
    if (token) {
        next();
    } else {
        if (to.path !== '/login') {
            next({
                path: '/login',
                query: {redirect: to.fullPath}
            })
        } else {
            next();
        }
    }
});

export default router;
